package com.hc.transactional.service.impl;

import com.hc.transactional.service.TransactionalService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @Author: huangcheng
 * @CreateTime: 2023-09-13  13:04
 * @Description:
 * @Version: 1.0
 */
@Service
@Slf4j
public class TransactionalServiceImpl implements TransactionalService {
    @Override
    @Transactional
    public void testTransactional() {
        System.out.println("testTransactional");
    }
}
